memsize: Fix for bug in memory sizing code
authorIwo Mergler <[email protected]>
Sun, 9 Sep 2012 20:16:58 +0000 (20:16 +0000)
committerTom Rini <[email protected]>
Tue, 18 Sep 2012 19:01:51 +0000 (12:01 -0700)
commitb8496cced856ff411f1eb2e4eff20f5abe7080b0
tree94932a3b6f7fd756135de21745be9634d56229b3
parent78b2de802f5f996d1e6d9383d1e05194351c429b
memsize: Fix for bug in memory sizing code

The original memory sizing code in get_ram_size clobbers the word
at the base address, but forgets to restore it.

Signed-off-by: Iwo Mergler <[email protected]>
common/memsize.c